Put -L paths from scripts are in LD_LIBRARY_PATH
authorAlex Crichton <alex@alexcrichton.com>
Thu, 20 Nov 2014 04:48:32 +0000 (20:48 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 20 Nov 2014 04:48:32 +0000 (20:48 -0800)
commit1de84a8bb098594aec67bb94f4d3f88022126e73
treef66cfee9cc9295e0231533aa71564999d3bbba84
parentbfae074d05afcd46d1e0f92f375ce1e62c516696
Put -L paths from scripts are in LD_LIBRARY_PATH

Like the old build command, this commit adds support for executables run by
cargo (and tests) to ensure that `-L` paths for a dynamic library are added to
LD_LIBRARY_PATH after a compilation is run.

Closes #915
src/cargo/ops/cargo_rustc/mod.rs